package com.diligreat.mapper;
import java.util.List;

import com.diligreat.domain.Lang;

public interface LangMapper {
	public List<Lang> getLangById(long id);
	/**
	 * 使用UNDERID获得语言分类
	 * @param uid
	 * @return
	 */
	public List<Lang> getLangGroupById(long uid);
	
	/**
	 * 获得所有的二级分类
	 * @return
	 */
	public List<Lang> getLangSecStepGroup();
	
	public void insertLang(Lang lang);
	public List<Lang> list();
	public Integer updateLang(Lang lang);
	public void deleteLang(long id);
	public List<Lang> getRegionList();
	public void deleteLangByUnderId(long id);
}
